package com.study.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author mengxj
 */
@Data
@TableName("t_student")
public class Student {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private Integer age;


    private String address;

//    @TableField("address")
//    private String family;

    private Long schoolId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
